<!--
 * @Author: Bonnie
 * @Date: 2021-12-02 18:14:46
 * @LastEditTime: 2021-12-15 11:28:27
 * @LastEditors: Bonnie
 * @Description: 
 * @FilePath: /public_demo/src/App.vue
-->
<template>
  <div id="app">
    <Header />
    <div class="main">
      <Nav />
      <router-view />
    </div>
  </div>
</template>
<script>
import heartMixin from "@/views/mixin";
import Nav from "@/components/Nav";
import Header from "@/components/Header";
export default {
  mixins: [heartMixin],
  components: {
    Nav,
    Header
  }
};
</script>
<style lang="scss">
#app {
  .main {
    height: calc(100% - 70px);
    display: flex;
  }
}
</style>